Tool Support for Unit Testing of Aspect-Oriented Software
نویسنده
چکیده
In this paper, we present a data ow based unit testing approa h and its tool support for aspe t-oriented software. Our approa h tests two types of units for an aspe t-oriented program, i.e., aspe ts that are modular units of ross utting implementation of the program, and those lasses whose behaviors may be a e ted by one or more aspe ts. We use the ontrol ow graph as a basis to ompute def-use pairs of aspe ts or lasses being tested in an aspe t-oriented program and use su h information to perform dataow testing on the aspe ts and lasses of the program.
منابع مشابه
AJcFgraph - AspectJ Control Flow Graph Builder for Aspect-Oriented Software
The ever-growing usage of aspect-oriented development methodology in the field of software engineering requires tool support for both research environments and industry. So far, tool support for many activities in aspect-oriented software development has been proposed, to automate and facilitate their development. For instance, the AJaTS provides a transformation system to support aspect-orient...
متن کاملAutomated Java Testing: JUnit versus AspectJ
Growing dependency of mankind on software technology increases the need for thorough testing of the software applications and automated testing techniques that support testing activities. We have outlined our testing strategy for performing various types of automated testing of Java applications using AspectJ which has become the de-facto standard for Aspect Oriented Programming (AOP). Likewise...
متن کاملAutomated State-Based Unit Testing for Aspect-Oriented Programs: A Supporting Framework
Interactions between aspects and classes are a new source for faults. Existing objectoriented testing techniques are not adequate for testing aspect-oriented programs. As a consequence, new testing techniques must be developed. We present, in this paper, a state-based unit testing technique for aspect-oriented programs and associated tool (AJUnit). The technique focuses on the integration of on...
متن کاملTowards A Practical Approach to Test Aspect-Oriented Software
Aspect-Oriented Programming (AOP) provides new constructs and tools to handle cross-cutting concerns in programs. Fully realizing the potentials of Aspect-Oriented Software Development requires new abstractions and techniques for testing. This paper proposes a first step towards a practical approach to test aspect-oriented software. The proposed approach is accompanied by a selection algorithm ...
متن کاملA Novel Approach to Unit Testing: The Aspect-Oriented Way
Unit testing is a methodology for testing small parts of an application independently of whatever application uses them. It is time consuming and tedious to write unit tests, and it is especially difficult to write unit tests that model the pattern of usage of the application they will be used in. Aspect-Oriented Programming (AOP) addresses the problem of separation of concerns in programs whic...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2002